package com.cweb.admin.serivce.authority;
import com.cweb.framework.pojo.CustomException;
import javax.servlet.http.HttpServletRequest;

/**
 * 用户登录验证接口
 */
public interface Authority {
    // 注册
    public UserLoginToken login(UserLoginToken loginToken);

    // 注销
    public boolean logout(HttpServletRequest request);

    // 请求接口验证
    public UserLoginToken checkAuthority(HttpServletRequest request) throws CustomException;
}
